//
//  TeachListModel.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/12/28.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "TeachListModel.h"

@implementation TeachListModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.ID = dict[@"id"];
        self.title = dict[@"title"];
        self.holdDate = dict[@"holdDate"];
        self.startDate = dict[@"startDate"];
        self.code = dict[@"code"];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[TeachListModel alloc]initWithDict:dict];
}

@end
